from poker_bot.admin_panel.app.views import MyBaseModelView


class WithdrawModelView(MyBaseModelView):
    column_list = (
        "id",
        "status",
        "summ",
        "user",
        "payment_address",
        "created_at",
    )

    form_excluded_columns = ("created_at", "updated_at")

    column_filters = ("summ", "status")

    column_labels = {
        "status": "Статус",
        "summ": "Сумма",
        "payment_method": "Метод оплаты",
        "user": "Пользователь",
        "payment_address": "Адрес для вывода",
        "created_at": "Дата создания",
    }

    column_default_sort = ("id", True)
